import { NgModule } from '@angular/core';

import { ShareModule } from '../share/share.module';

import { HierachicalDIHerosListRoutingModule }   from './hierachical-DI-routing.module';

import { routedComponents }   from './hierachical-DI-routing.module';
import { HeroEditorComponent } from './hierachical-DI-hero-editor.component';
import { HeroCardComponent } from './hierachical-DI-hero-card.component';
import { HeroesService } from './hierachical-DI-heros.service';
// import { RestoreService } from './hierachical-DI-restore.service';

@NgModule({
    imports: [ShareModule, HierachicalDIHerosListRoutingModule],
    exports: [],
    declarations: [routedComponents, HeroEditorComponent, HeroCardComponent],
    // providers: [HeroesService, RestoreService],
    providers: [HeroesService],
})
export class HierachicalDIModule { }
